package com.shigu.user.bo;

import com.shigu.MallRequest;
import com.shigu.annotations.PhoneCheck;
import com.shigu.validation.tags.Telephone;
import org.hibernate.validator.constraints.NotEmpty;

public class PhoneRequest extends MallRequest {
    @PhoneCheck
    @NotEmpty(message = "手机号不能为空")
    private String telephone;

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }
}
